package com.eco.fanliapp.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


@Getter
@Setter
@Data
@TableName("message_push")//@TableName中的值对应着表名
public class MessagePush extends AbstractModel {


    @TableId(type = IdType.AUTO)
    private int id;
    private int adminId;//管理员id
    private String title;
    private String content;
    private String jumpLink;//跳转连接/跳转商品详情
    private int type;//推送对象 类型，0全部用户 1  已下单用户  2  未下单用户
    private Date pushTime;//定时推送时间
    private Integer jumpType;//推送方式 4001 纯消息推送,  4002 html推送,4003消息界面推送,4004任务,4005免单,4006邀请,4007商品详情
    private Integer companyId;
    private Integer jumpTaobao;//跳转taobao  1跳淘宝
    private Integer status;//推送状态  1成功  0失败
    @TableField(exist=false)
    private Integer timeType;

}
